package Twitim::API::ShowUsers;

use strict;
use warnings;

use base qw( Twitim::API );

sub _start {
    my ( $self, $userid ) = @_;
    $self->_getfromapi( 'users/show', "/$userid.json" );
}

sub _last {
    my ( $self, $array_ref, $output ) = @_;

    my $jid      = $array_ref->{'screen_name'};
    my $icon_url = $array_ref->{'profile_image_url'};
    Twitim::NetBase->set_icon( $jid, $icon_url );

    # print "$jid: $icon_url\n";
}

1;
